{include file="public:header" /}
<!--seo设置-->
<div class="pad_lr_10">
<div class="col_tab">
	<ul class="J_tabs tab_but cu_li">
		<li class="current">免责申明</li>
	</ul>
<div class="J_panes">
	<div class="content_list pad_10">
	<form id="info_form" action="{:url('Setting/editDo')}" method="post" enctype="multipart/form-data">
	<table width="100%" class="table_form">

		<tr>
			<th width="95" valign="top">二手房免责说明 : :</th>
			<td>
				<textarea name="data[second]" style="width:680px;height:80px;">{$info.second}</textarea>
			</td>
		</tr>
		<tr>
			<th width="95" valign="top">出租房免责说明 :</th>
			<td>
				<textarea name="data[rental]" style="width:680px;height:80px;">{$info.rental}</textarea>
			</td>
		</tr>
		<tr>
			<th width="95" valign="top">团购申明 :</th>
			<td>
				<textarea name="data[group]" style="width:680px;height:80px;">{$info.group}</textarea>
			</td>
		</tr>
		<tr>
			<th></th>
			<td>
				<input type="hidden" name="name" value="{$action_name}">
				<input type="hidden" name="id" value="{$base.id}">
				<input type="submit" class="btn btn_submit" value="提交"/>
			</td>
		</tr>
	</table>
	</form>
		</div>
</div>
</div>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/plugins/colorpicker.js"></script>
<script src="__PUBLIC__/js/plugins/fileuploader.js"></script>
<script type="text/javascript">
	$(function(){
		$('.J_color_picker').colorpicker();
		//上传图片
		var img_uploader = new qq.FileUploaderBasic({
			allowedExtensions: ['jpg','gif','jpeg','png'],
			button: document.getElementById('J_upload_img'),
			multiple: false,
			action: "{:url('Setting/ajaxUploadImg')}",
			inputName: 'img',
			forceMultipart: true, //用$_FILES
			showMessage: function(message){
				$.yingloujie.tip({content:message, icon:'error'});
			},
			onSubmit: function(id, fileName){
				$('#J_upload_img').addClass('btn_disabled').find('span').text('上传中...');
			},
			onComplete: function(id, fileName, result){
				$('#J_upload_img').removeClass('btn_disabled').find('span').text('上传');
				if(result.status == '1'){
					$('#J_img').val(result.data);
				} else {
					$.yingloujie.tip({content:result.msg, icon:'error'});
				}
			}
		});
	});

</script>
</body>
</html>